﻿using System.Collections.Concurrent;
using System.Collections.Generic;

namespace Glorysoft.EAP.Core
{
    public static class CItems
    {
        public const string ConfigureEAPNo = "{EAPNO}";
        public const string ConfigureEQPNo = "{EQPNO}";
        public const string ConfigureUINo = "{UINO}";
        public const string Header = "Header";
        public const string Request = "Request";
        public const string Response = "Response";
        public const string Body = "Body";
        public const string Return = "Return";
        public const string MachineName = "MachineName";
        public const string MessageName = "MessageName";
        public const string MaterialID = "MaterialID";
        public const string RowCT = "RowCT";
        public const string ColCT = "ColCT";
        public const string TransactionID = "TransactionID";
        public const string UserID = "UserID";
        public const string UserName = "UserName";
        public const string PassWord = "Password";
        public const string FacilityId = "FacilityId";
        public const string EventTime = "EventTime";
        public const string DateTime = "DateTime";
        public const string ReturnCode = "ReturnCode";
        public const string ReturnMessage = "ReturnMessage";
        public const string Reply = "Reply";
        public const string DateTimeFormatF = "yyyyMMddHHmmssff";
        public const string DateTimeFormat = "yyyyMMddHHmmss";
        public const string EqpID = "EqpID";
        public const string EqpList = "EqpList";
        public const string EqpType = "EqpType";
        public const string RecipeName = "RecipeName";
        public const string RecipeID = "RecipeID";
        public const string RecipeBody = "RecipeBody";
        public const string List = "List";
        public const string ID = "ID";
        public const string Name = "Name";
        public const string IDType = "IDType"; 
        public const string ValType = "ValType";
        public const string StartTime = "StartTime";
        public const string EndTime = "EndTime";
        public const string TransCode = "TransCode";
        public const string WireID = "WireID";
        public const string WireLength = "WireLength";
        public const string WireTime = "WireTime";
        public const string CapID = "CapID";
        public const string CapCnt = "CapCnt";
        public const string LotID = "LotID";
        public const string BDID = "BDID";
        public const string LotInfo = "LotInfo";
        public const string EqpInfo = "EqpInfo";
        public const string ZoneTemp = "ZoneTemperature";
        public const string ScrewCnt = "ScrewCnt";
        public const string IsRcpCmp = "IsRcpCmp";
        public const string LastPMColTime = "LastPMColTime";
        public const string RepairID = "RepairID";
        public const string BuyOffID = "BuyOffID";
        public const string EqpStatusInfo = "EqpStatusInfo";
        public const string AlarmCode = "AlarmCode";
        public const string AlarmList = "AlarmList";
        public const string EventID = "EventID";
        public const string EventName = "EventName";
        public const string CommState = "CommState";
        public const string CtrlMode = "CtrlMode";
        public const string EqpState = "ProcMode";
        public const string AlarmInfo = "AlarmInfo";
        public const string AlarmID = "AlarmID";
        public const string AlarmMessage = "AlarmMessage";
        public const string AlarmLevel = "AlarmLevel";
        public const string TerminalMessage = "TerminalMessage";
        public const string RemindMessage = "RemindMessage";
        public const string ReplyID = "ReplyID";
        public const string ClientID = "ClientID";
        public const string WbLoadRcpType = "WbLoadRcpType";
        public const string DataID = "DataID";
        public const string RPTID = "RPTID";
        public const string CEID = "CEID";
        public const string EventType = "EventType";
        public const string Enable = "Enable";
        public const string ServerName = "ServerName";
        public const string Daemon = "DAEMON";
        public const string EAPAdmin = "ADM";
        public const string EAPName = "EAPName";
        public const string ZipFile = "ZipFile";
        public const string DllFile = "DllFile";
        public const string ConfFile = "ConfFile";
        public const string LogType = "LogType";
        public const string FileName = "FileName";
        public const string FilePath = "FilePath";
        public const string FileSize = "FileSize";
        public const string CreateTime = "CreateTime";
        public const string UpdateTime = "UpdateTime";
        public const string Uninstall = "Uninstall";
        public const string CommunicateState = "CommunicateState";
        public const string ControlState = "ControlState";
        public const string Version = "Version";
        public const string CPU = "CPU";
        public const string Memory = "Memory";
        public const string MemoryA = "MemoryAvailable";
        public const string MemoryC = "MemoryCommitted";
        public const string Threads = "Threads";
        public const string ProcessList = "ProcessList";
        public const string ProcessName = "ProcessName";
        public const string SystemUp = "SystemUp";
        public const string System = "System";
        public const string EAPStatus = "EAPStatus";
        public const string RunningTime = "RunningTime";
        public const string EqpStatus = "EqpStatus";
        public const string EMS = "RMS";
        public const string RMS = "RMS";
        public const string EAP = "EAP";
        public const string BDVersion = "BDVersion";
        public const string Package = "PKG";
        public const string Step = "Step";
        public const string StepDesc = "StepDesc";
        public const string LotQty = "LotQty";
        public const string ProcessingStatus = "ProcessingStatus";
        public const string Priority = "Priority";
        public const string Location = "Location";
        public const string Customer = "CustomerName";
        public const string Device = "DeviceId";
        public const string Content = "Content";
        public const string VIDList = "VIDList";
        public const string VID = "VID";
        public const string Value = "Value";
        public const string Alcd = "Alcd";
        public const string Dict = "Dict";
        public const string CompareFlag = "CompareFlag";
        public const string BuyoffFlag = "BuyoffFlag";
        public const string LASTPMCOLTIME = "LASTPMCOLTIME";
        public const string Svid_3001 = "Svid_3001";
        public const string Svid_3002 = "Svid_3002";
        public const string Svid_3007 = "Svid_3007";
        public const string Svid_3054 = "Svid_3054";
        public const string Svid_3096 = "Svid_3096";
        public const string Svid_3100 = "Svid_3100";
        public const string Svid_DB143 = "Svid_DB143";
        public const string Svid_WB323 = "Svid_WB323";
        public const string Svid_Status = "Svid_Status";
        public const string OpCheckFlag = "OpCheckFlag";
        public const string Total = "Total";
        public const string Pass = "Pass";
        public const string Fail = "Fail";
        public const string PreState = "PreState";
        public const string CurState = "CurState";
        public const string IsCheck = "IsCheck";
        public const string Reason = "Reason";
        public const string RcmName = "RcmName";
        public const string LogInfo = "LogInfo";
        public const string lotType = "lotType";
        public const string batchId = "batchId";
        public const string operationId = "operationId";
        public const string productId = "productId";
        public const string WaferQty = "WaferCount";
        public const string UnitList = "UnitList";
        public const string ProberRecipe = "ProberRecipe";
        public const string ppid = "ppid";
        public const string recipeLogicalRrn = "recipeLogicalRrn";
        public const string reticleGroupId = "reticleGroupId";
        public const string reticleGroupRrn = "reticleGroupRrn";
        public const string rcflag = "rcflag";
        public const string ProberCardId = "ProberCardId";
        public const string OperatorID = "OperatorID";
        public const string TesterEqpID = "TesterEqpID"; 
        public const string TestType = "TestType";
        public const string lotStatus = "lotStatus";
        public const string stageId = "stageId";
        public const string CheckNeedleMark = "CheckNeedleMark";
        public const string CheckNeedlePitch = "CheckNeedlePitch";
        public const string StationID = "StationID";
        public const string PrgName = "PrgName";
        public const string ProductID = "ProductID";
        public const string SortID = "SortID";
        public const string PIBID = "PIBID";
        public const string ProberCardIDLeft = "ProberCardIDLeft";
        public const string ProberCardIDRight = "ProberCardIDRight";
        public const string RunModeSelected = "RunModeSelected";
        public const string recipeAck = "recipeAck";
        public const string lotIDAck = "lotIDAck";
        public const string S2F41Ack = "S2F41Ack";
        public const string S2F41AckToTester = "S2F41AckToTester";
        public const string S2F41AckToProbe = "S2F41AckToProbe";
        public const string TrackOutReturnCode = "TrackOutReturnCode";
        public const string TrackInReturnCode = "TrackInReturnCode";
        public const string HoldLotReturnCode = "HoldLotReturnCode";
        public const string MessageType = "MessageType";
        public const string MessageOrigin = "MessageOrigin";
        public const string OCRConnStatus = "OCRConnStatus";
        public const string t7code = "t7code";//waferid
        public const string position = "position";
        public const string unitStatus = "unitStatus";
        public const string unitId = "unitId";
        public const string TrackInMessage = "TrackInMessage";
        public const string CustomerLotId = "CustomerLotId";
        public const string OperationStatus = "OperationStatus";
        public const string Alignment = "Alignment";
        public const string TestMode = "TestMode";
        public const string TestModeValue = "TestModeValue"; 
        public const string RCMConnStatus = "RCMConnStatus";
        public const string OCRTesterConnStatus = "OCRTesterConnStatus";
        public const string SelectWaferID = "SelectWaferID";
        public const string MesWaferID = "MesWaferID";
        public const string IsFullmeasurement = "IsFullmeasurement";
        public const string T7code = "T7code";
        public const string SamplePromptSize = "SamplePromptSize"; 
        public const string UnitidList = "UnitidList";
        public const string SamplePrompts = "SamplePrompts";
        public const string RemainingTime = "RemainingTime";
        public const string Reasons = "Reasons";
        public const string InProcessing = "InProcessing";
        public const string LotEnd = "LotEnd";
        #region 印章 StripMap 常量
        public const string ParaList = "ParaList";
        public const string ParamList = "ParamList";
        /// <summary>
        /// 框架号
        /// </summary>
        public const string LeadFrameID = "LeadFrameID";//20200716 框架号
        /// <summary>
        /// stripMap的xml源文件
        /// </summary>
        public const string Map = "Map";//20200716

        /// <summary>
        /// stripMap的xml源文件 StripMap的行数
        /// </summary>
        public const string Map_Rows = "Map_Rows";//20200718

        /// <summary>
        /// stripMap的xml源文件 StripMap的列数
        /// </summary>
        public const string Map_Column = "Map_Column";//20200718

        /// <summary>
        /// stripMap的xml源文件 StripMap阵列的结果集合
        /// </summary>
        public const string Map_Result = "Map_Result";//20200718

        /// <summary>
        /// stripMap的xml源文件 StripMap阵列的方向
        /// </summary>
        public const string Map_Orientation = "Map_Orientation";//20200718
        /// <summary>
        /// 印章地址
        /// </summary>
        public const string SealAddress = "SealAddress";//20200716 
        /// <summary>
        /// 印章阵列地址
        /// </summary>
        public const string SealArrayAddress = "SealArrayAddress";//20200716 
        /// <summary>
        /// 印章正印号、背印号
        /// </summary>
        public const string SealID = "SealID";//20200716 
        /// <summary>
        /// 印章阵列号
        /// </summary>
        public const string SealArrayID = "SealArrayID";//20200716
        /// <summary>
        /// 时间戳
        /// </summary>
        public const string timestamp = "timestamp";//20200718 
        #endregion
        /// <summary>
        /// EMS扩展接口连接
        /// </summary>
        public static string EmsApiUrl = "";
        public static string RmsApiUrl = "";
        public static int StopEqpRetry = 3;
        public const string TotalTape = "TapeTotal";
        public const string UPH = "UPH";
        public static int EdcCollectInterval = 100;
        public static string Dtime = "Dtime";
        public const string PlantName = "PlantName";
        public const string RecipeVer = "RecipeVer";
        public const string RecipeEqpID = "RecipeEqpID";
        public const string EnableEQ = "EnableEQ";
        public const string RecipeType = "RecipeType";
        public const string ASMAero_StatuSVID = "323";
        public const string ASMAD832i_StatuSVID = "143";
        public const string AsmFT_StatuSVID = "1090";
        public const string KnsConnxElite_StatuSVID = "3007";
        public const string ChangChuanFT_StatuSVID = "7";
        public const string RemoteType = "RemoteType";
        public const string IsConnect = "IsConnect";
        public const string EqpCmdName = "EqpCmdName";
        public const string DataCollectInv = "DataCollectInv";     
        public const string UserInfo = "UserInfo";      

        #region 联动测试机
        public const string Station = "Station";
        public const string TestProgram = "TesterProgram";
        public const string TestProgramPath = "TestProgramPath";
        public const string SummaryFile = "SummaryFile";
        public const string SummaryFilePath = "SummaryFilePath";
        public const string DatalogFile = "DatalogFile";
        public const string DatalogFilePath = "DatalogFilePath";
        public const string procMode = "procMode";
        public const string ParamenterID = "ParamenterID";
        public const string GetReturnMessage = "GetReturnMessage";
        public const string SealID1 = "SealID1";
        #endregion

        public static string IsCheckNeedleMark = "Y";
        public static string PIBIDValue = "6880A";
        #region Message
        public const string S2F41TrackInOK = "S2F41TrackInOK";
        public const string S2F41TrackInNG = "S2F41TrackInNG！";
        public const string S2F41StartTestOK = "S2F41StartTestOK";
        public const string S2F41StartTestNG = "S2F41StartTestNG";
        public const string DownLoadTestOK = "DownLoadTestOK";
        public const string DownLoadTestNG = "DownLoadTestNG";
        public const string MESTrackInOK = "MESTrackInOK";
        public const string MESTrackInNG = "MESTrackInNG";
        public const string MESHoldLotOK = "MESHoldLotOK";
        public const string MESHoldLotNG = "MESHoldLotNG";
        public const string EndTestOK = "EndTestOK";
        public const string EndTestNG = "EndTestNG";
        public const string StartTestOK = "StartTestOK";
        public const string StartTestNG = "StartTestNG";
        public const string MESTrackOutOK = "MESTrackOutOK";
        public const string MESTrackOutNG = "MESTrackOutNG";
        public const string CheckNeedlePitchOK = "CheckNeedlePitchOK";
        public const string CheckNeedlePitchNG = "CheckNeedlePitchNG";
        public const string CheckNeedleMarkOK = "CheckNeedleMarkOK";
        public const string CheckNeedleMarkNG = "CheckNeedleMarkNG";
        public const string ManualOperation = "ManualOperation";
        public const string AutomaticOperation = "AutomaticOperation";
        #endregion

        public static string FtpAddress = "FtpAddress";
        public static int FtpPort = 0;
        public static string FtpUserName = "FtpUserName";
        public static string FtpPassword = "FtpPassword";
        public static Dictionary<string, string> waferInfoDic = new Dictionary<string, string>(); 
        public static Dictionary<string, string> lotParamDic = new Dictionary<string, string>(); 
        public static string slidesList = "slidesList";
        public static string waferId = "waferId";
        public static string STDF = "STDF";
        public static string MapFile = "MapFile";
        public static string passDieCount = "passDieCount";
        public static string slidesInfo = "slidesInfo";

        public static string CheckZHType = "";
        public static string CheckZHPath = "";
        public static string CheckZHUPLOADPath = "";
        public static int CheckZHTime = 0;
        public static int TrackOutPl = 10;
        public static int TrackOutTotal = 0;
        public static int TrackOutSleep = 5;
        public static int TrackOutCount = 72;
        public static int CheckFile = 0;
        public static string IsTest="";
        public static ConcurrentDictionary<string,string> TrackOutList = new ConcurrentDictionary<string, string>();
        public static System.Timers.Timer timer = null;
        public static string TrackOutFailInfo = "";
    }
}